package com.skyworth.plugin.parser.jni;

import com.coocaa.x.framework.data.JObject;

public class videoinfo extends JObject {
    public final static int LD = 0;
    public final static int HD = 1;
    public final static int SD = 2;

    public String HighUrl; // 高清地址
    public String NomalUrl; // 标清地址
    public String SupreUrl; // 超清地址
    public String ParsedUrl;

    public String VideoTitle; // 视频名称
    public String GroupTitle; // 电视剧名称
    public String UnParseUrl; // 源地址

    public int CurrentQuality; // 当前清晰度
    public String Source; // 视频源 youku、iqiyi等
    public String SkyRsId; // 后台组ID

    public String CurrentSegment; // 当前集数
    public String VideoId; // 视频ID
    public long SeekTime;
    public int ErrorId = 0;
    public String UserAgent;
    public String Cookie;
    public long StartTime;
    public long EndTime;
    public int isLive = 0;

    @Override
    public String toString() {
        return "videoinfo{" +
                "HighUrl='" + HighUrl + '\'' +
                ", NomalUrl='" + NomalUrl + '\'' +
                ", SupreUrl='" + SupreUrl + '\'' +
                ", ParsedUrl='" + ParsedUrl + '\'' +
                ", VideoTitle='" + VideoTitle + '\'' +
                ", GroupTitle='" + GroupTitle + '\'' +
                ", UnParseUrl='" + UnParseUrl + '\'' +
                ", CurrentQuality=" + CurrentQuality +
                ", Source='" + Source + '\'' +
                ", SkyRsId='" + SkyRsId + '\'' +
                ", CurrentSegment='" + CurrentSegment + '\'' +
                ", VideoId='" + VideoId + '\'' +
                ", SeekTime=" + SeekTime +
                ", ErrorId=" + ErrorId +
                ", UserAgent='" + UserAgent + '\'' +
                ", Cookie='" + Cookie + '\'' +
                ", StartTime=" + StartTime +
                ", EndTime=" + EndTime +
                ", isLive=" + isLive +
                '}';
    }

    public static final Creator<videoinfo> CREATOR = createCREATOR(
            videoinfo.class, null);
}
